<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet name="./css/default.css"/>
        <h:outputStylesheet name="./css/cssLayout.css"/>
       
        <link href="./resources/css/Styless Master.css" rel="stylesheet" type="text/css" />
        
        <title >Sicove</title>
    </h:head>

    
    <h:body>
        <p:layout fullPage="true">  

           
         
            
           
                
                 <h:form id="formLogin" class="center_content">
                    <p:panel header="Ingresar Usuario y Clave">
                        <h:panelGrid columns="2" cellpadding="5">  
                            <h:outputLabel for="username" value="Usuario:" />  
                            <p:inputText value="#{loginBean.username}" id="username" required="true" label="username" />  

                            <h:outputLabel for="password" value="Clave:" />  
                            <h:inputSecret value="#{loginBean.password}" id="password" required="true" label="password" />  

                            <f:facet name="footer">  
                                <p:commandButton id="loginButton" value="Entrar"   
                                                 actionListener="#{loginBean.login}"   
                                                 oncomplete="handleLoginRequest(xhr, status, args)"/>  
                            </f:facet>  
                            
                            
                        </h:panelGrid>  
   
                    </p:panel>>
                </h:form>  
               
            

        </p:layout>  
        
    </h:body>
</html>

